<template>
  <div class="other-info">
    <MessageTitle mainText="资源描述" />

    <a-form-item label="描述内容" name="res_description">
      <a-textarea
        v-model:value="formData.res_description"
        show-count
        :maxlength="1000"
        :auto-size="{ minRows: 5, maxRows: 10 }"
        placeholder="请输入资源描述"
      />
    </a-form-item>
  </div>
</template>

<script lang="ts" setup name="OtherInfo">
import { toRefs } from 'vue'
import MessageTitle from '../../components/MessageTitle.vue'
import type { CollectFormType } from '../../public-type'

// props
type Props = { formData: CollectFormType }
const props = defineProps<Props>()
const { formData } = toRefs(props)
</script>

<style lang="less" scoped>
.content {
}
</style>
